package com.jiawa.train.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jiawa.train.business.domain.TrainSeat;
import com.jiawa.train.business.req.TrainSeatQueryReq;
import com.jiawa.train.business.resp.TrainSeatQueryResp;
import com.jiawa.train.common.resp.PageResp;

import java.util.List;

public interface TrainSeatService extends IService<TrainSeat> {
    // 可添加自定义方法声明
    void save(com.jiawa.train.business.req.TrainSeatSaveReq req);
    PageResp<TrainSeatQueryResp> queryList(TrainSeatQueryReq req);
    void delete(Long id);
    void genTrainSeat(String trainCode);

    List<TrainSeat> selectByTrainCode(String trainCode);
}
